3.256 \(\int \frac{(f+g x)^2}{(A+B \log (\frac{e (a+b x)}{c+d x}))^2} \, dx\)

Optimal. Leaf size=31 \[ \text{Unintegrable}\left (\frac{(f+g x)^2}{\left (B \log \left (\frac{e (a+b x)}{c+d x}\right )+A\right )^2},x\right ) \]

[Out]

Unintegrable[(f + g*x)^2/(A + B*Log[(e*(a + b*x))/(c + d*x)])^2, x]

________________________________________________________________________________________

Rubi [A]  time = 0.184068, antiderivative size = 0, normalized size of antiderivative = 0., number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0., Rules used = {} \[ \int \frac{(f+g x)^2}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2} \, dx \]

Verification is Not applicable to the result.

[In]

Int[(f + g*x)^2/(A + B*Log[(e*(a + b*x))/(c + d*x)])^2,x]

[Out]

f^2*Defer[Int][(A + B*Log[(e*(a + b*x))/(c + d*x)])^(-2), x] + 2*f*g*Defer[Int][x/(A + B*Log[(e*(a + b*x))/(c
+ d*x)])^2, x] + g^2*Defer[Int][x^2/(A + B*Log[(e*(a + b*x))/(c + d*x)])^2, x]

Rubi steps

\begin{align*} \int \frac{(f+g x)^2}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2} \, dx &=\int \left (\frac{f^2}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}+\frac{2 f g x}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}+\frac{g^2 x^2}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2}\right ) \, dx\\ &=f^2 \int \frac{1}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2} \, dx+(2 f g) \int \frac{x}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2} \, dx+g^2 \int \frac{x^2}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2} \, dx\\ \end{align*}

Mathematica [A]  time = 1.31223, size = 0, normalized size = 0. \[ \int \frac{(f+g x)^2}{\left (A+B \log \left (\frac{e (a+b x)}{c+d x}\right )\right )^2} \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[(f + g*x)^2/(A + B*Log[(e*(a + b*x))/(c + d*x)])^2,x]

[Out]

Integrate[(f + g*x)^2/(A + B*Log[(e*(a + b*x))/(c + d*x)])^2, x]

________________________________________________________________________________________

Maple [A]  time = 1.112, size = 0, normalized size = 0. \begin{align*} \int{ \left ( gx+f \right ) ^{2} \left ( A+B\ln \left ({\frac{e \left ( bx+a \right ) }{dx+c}} \right ) \right ) ^{-2}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((g*x+f)^2/(A+B*ln(e*(b*x+a)/(d*x+c)))^2,x)

[Out]

int((g*x+f)^2/(A+B*ln(e*(b*x+a)/(d*x+c)))^2,x)

________________________________________________________________________________________

Maxima [A]  time = 0., size = 0, normalized size = 0. \begin{align*} -\frac{b d g^{2} x^{4} + a c f^{2} +{\left (a d g^{2} +{\left (2 \, d f g + c g^{2}\right )} b\right )} x^{3} +{\left ({\left (2 \, d f g + c g^{2}\right )} a +{\left (d f^{2} + 2 \, c f g\right )} b\right )} x^{2} +{\left (b c f^{2} +{\left (d f^{2} + 2 \, c f g\right )} a\right )} x}{{\left (b c - a d\right )} B^{2} \log \left (b x + a\right ) -{\left (b c - a d\right )} B^{2} \log \left (d x + c\right ) +{\left (b c - a d\right )} A B +{\left (b c \log \left (e\right ) - a d \log \left (e\right )\right )} B^{2}} + \int \frac{4 \, b d g^{2} x^{3} + b c f^{2} + 3 \,{\left (a d g^{2} +{\left (2 \, d f g + c g^{2}\right )} b\right )} x^{2} +{\left (d f^{2} + 2 \, c f g\right )} a + 2 \,{\left ({\left (2 \, d f g + c g^{2}\right )} a +{\left (d f^{2} + 2 \, c f g\right )} b\right )} x}{{\left (b c - a d\right )} B^{2} \log \left (b x + a\right ) -{\left (b c - a d\right )} B^{2} \log \left (d x + c\right ) +{\left (b c - a d\right )} A B +{\left (b c \log \left (e\right ) - a d \log \left (e\right )\right )} B^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)^2/(A+B*log(e*(b*x+a)/(d*x+c)))^2,x, algorithm="maxima")

[Out]

-(b*d*g^2*x^4 + a*c*f^2 + (a*d*g^2 + (2*d*f*g + c*g^2)*b)*x^3 + ((2*d*f*g + c*g^2)*a + (d*f^2 + 2*c*f*g)*b)*x^
2 + (b*c*f^2 + (d*f^2 + 2*c*f*g)*a)*x)/((b*c - a*d)*B^2*log(b*x + a) - (b*c - a*d)*B^2*log(d*x + c) + (b*c - a
*d)*A*B + (b*c*log(e) - a*d*log(e))*B^2) + integrate((4*b*d*g^2*x^3 + b*c*f^2 + 3*(a*d*g^2 + (2*d*f*g + c*g^2)
*b)*x^2 + (d*f^2 + 2*c*f*g)*a + 2*((2*d*f*g + c*g^2)*a + (d*f^2 + 2*c*f*g)*b)*x)/((b*c - a*d)*B^2*log(b*x + a)
 - (b*c - a*d)*B^2*log(d*x + c) + (b*c - a*d)*A*B + (b*c*log(e) - a*d*log(e))*B^2), x)

________________________________________________________________________________________

Fricas [A]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{g^{2} x^{2} + 2 \, f g x + f^{2}}{B^{2} \log \left (\frac{b e x + a e}{d x + c}\right )^{2} + 2 \, A B \log \left (\frac{b e x + a e}{d x + c}\right ) + A^{2}}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)^2/(A+B*log(e*(b*x+a)/(d*x+c)))^2,x, algorithm="fricas")

[Out]

integral((g^2*x^2 + 2*f*g*x + f^2)/(B^2*log((b*e*x + a*e)/(d*x + c))^2 + 2*A*B*log((b*e*x + a*e)/(d*x + c)) +
A^2), x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)**2/(A+B*ln(e*(b*x+a)/(d*x+c)))**2,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [A]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (g x + f\right )}^{2}}{{\left (B \log \left (\frac{{\left (b x + a\right )} e}{d x + c}\right ) + A\right )}^{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x+f)^2/(A+B*log(e*(b*x+a)/(d*x+c)))^2,x, algorithm="giac")

[Out]

integrate((g*x + f)^2/(B*log((b*x + a)*e/(d*x + c)) + A)^2, x)